Lender Price API
Locking a Loan Without LOS / 4. Submit Lock Request / 4.6 Add Request Lock Event with SellSide
In This Topic
    4.6 Add Request Lock Event with SellSide
    In This Topic

    Path

    POST /rest/v1/lp-ppe-api/price-quote/addLockEvent 
    

    Headers

                
    
    Authorization
    
    Bearer {{accessToken}}
    

    Body

    Copy Code
       
    {
          "priceQuoteId": "{{priceQuoteId}}",
          "lockId": "{{lockId}}",
          "lockStatusId": "{{lockRequestId}}",
          "lockEventExceptionInfo": null,
          "lockEventExtensionInfo": null,
          "scenario": {{scenario}},
          "hasSellSide": true,
          "sellSideLine": {
              "id": "646670d53b91484fc4b859ec",
              "mergeSet": null,
              "createdBy": null,
              "creationDate": "2023-05-18T18:39:17Z",
              "modifiedBy": null,
              "modifiedDate": "2023-05-18T18:39:17Z",
              "origin": "Lenderprice",
             "order": 0,
              "name": null,
              "comment": null,
              "search": {{search}},
              "pricedOnMarketPlace": false,
              "searchPoint": {
                  "id": "646670d53b91484fc4b859f2",
                  "mergeSet": null,
                  "createdBy": null,
                  "creationDate": "2023-05-18T18:39:17Z",
                  "modifiedBy": null,
                  "modifiedDate": "2023-05-18T18:39:17Z",
                  "referenceId": null,
                  "date": null,
                  "lineResult": {{lineResult}}
              },
              "currentSearchPoint": null,
              "searchPointTarget": {
                  "id": "646670d53b91484fc4b859f6",
                  "mergeSet": null,
                  "createdBy": null,
                  "creationDate": "2023-05-18T18:39:17Z",
                  "modifiedBy": null,
                  "modifiedDate": "2023-05-18T18:39:17Z",
                  "searchOrigin": "All",
                  "sameLender": true,
                  "lenderName": null,
                  "lenderId": null,
                  "sameProgram": true,
                  "ratePeriodName": null,
                  "ratePeriodId": null,
                  "rateProgramName": null,
                  "rateProgramId": null,
                  "rateGridName": null,
                  "rateGridId": null,
                  "rateRange": {
                      "@class": "com.cre8techlabs.entity.rate.adjustment.table.RangeGreaterEqThanLowerEqThan",
                      "from": null,
                     "to": null
                  },
                  "pointsRange": {
                      "@class": "com.cre8techlabs.entity.rate.adjustment.table.RangeGreaterEqThanLowerEqThan",
                      "from": null,
                      "to": null
                  },
                  "compensationRange": {
                      "@class": "com.cre8techlabs.entity.rate.adjustment.table.RangeGreaterEqThanLowerEqThan",
                      "from": null,
                      "to": null
                  },
                  "closingCostRange": {
                      "@class": "com.cre8techlabs.entity.rate.adjustment.table.RangeGreaterEqThanLowerEqThan",
                      "from": null,
                      "to": null
                  },
                  "useAlert": false,
                  "alertType": "Range",
                  "rateAlertRangeConfig": {
                      "id": "646670d53b91484fc4b859f7",
                      "mergeSet": null,
                      "durationInDays": 90,
                      "cutOffDate": null,
                      "lastTimeSent": null,
                      "alertSentCount": 0
                  },
                  "rateAlertSubscriptionConfig": {
                      "id": "646670d53b91484fc4b859f8",
                      "mergeSet": null,
                      "durationInDays": 90,
                      "cutOffDate": null,
                      "lastTimeSent": null,
                      "alertSentCount": 0,
                      "frequency": "EveryDay"
                  },
                  "emails": "",
                  "lastUpdate": null,
                  "rateAlert": null
              }
          },
          "lockDateUpdate": null,
          "lockEventId": "{{lockEventId}}",
          "lockEventComment": "Whatever comment you would like"
      }
     

    Example Request

    Copy Code
    curl --location -g '{{protocol}}{{domain}}/rest/v1/lp-ppe-api/price-quote/addLockEvent' \
    --header 'Authorization: Bearer {{accessToken}}' \
    --data-raw '{
        "priceQuoteId": "{{priceQuoteId}}",
        "lockId": "{{lockId}}",
        "lockStatusId": "{{lockRequestId}}",
        "lockEventExceptionInfo": null,
        "lockEventExtensionInfo": null,
        "scenario": {{scenario}},
        "hasSellSide": true,
        "sellSideLine": {
            "id": "646670d53b91484fc4b859ec",
            "mergeSet": null,
            "createdBy": null,
            "creationDate": "2023-05-18T18:39:17Z",
            "modifiedBy": null,
            "modifiedDate": "2023-05-18T18:39:17Z",
            "origin": "Lenderprice",
            "order": 0,
            "name": null,
            "comment": null,
            "search": {{search}},
            "pricedOnMarketPlace": false,
            "searchPoint": {
                "id": "646670d53b91484fc4b859f2",
                "mergeSet": null,
                "createdBy": null,
                "creationDate": "2023-05-18T18:39:17Z",
                "modifiedBy": null,
                "modifiedDate": "2023-05-18T18:39:17Z",
                "referenceId": null,
                "date": null,
                "lineResult": {{lineResult}}
            },
            "currentSearchPoint": null,
            "searchPointTarget": {
                "id": "646670d53b91484fc4b859f6",
                "mergeSet": null,
                "createdBy": null,
                "creationDate": "2023-05-18T18:39:17Z",
                "modifiedBy": null,
                "modifiedDate": "2023-05-18T18:39:17Z",
                "searchOrigin": "All",
                "sameLender": true,
                "lenderName": null,
                "lenderId": null,
                "sameProgram": true,
                "ratePeriodName": null,
                "ratePeriodId": null,
                "rateProgramName": null,
                "rateProgramId": null,
                "rateGridName": null,
                "rateGridId": null,
                "rateRange": {
                    "@class": "com.cre8techlabs.entity.rate.adjustment.table.RangeGreaterEqThanLowerEqThan",
                    "from": null,
                    "to": null
                },
                "pointsRange": {
                    "@class": "com.cre8techlabs.entity.rate.adjustment.table.RangeGreaterEqThanLowerEqThan",
                    "from": null,
                    "to": null
                },
                "compensationRange": {
                    "@class": "com.cre8techlabs.entity.rate.adjustment.table.RangeGreaterEqThanLowerEqThan",
                    "from": null,
                    "to": null
                },
                "closingCostRange": {
                    "@class": "com.cre8techlabs.entity.rate.adjustment.table.RangeGreaterEqThanLowerEqThan",
                    "from": null,
                    "to": null
                },
                "useAlert": false,
                "alertType": "Range",
                "rateAlertRangeConfig": {
                    "id": "646670d53b91484fc4b859f7",
                    "mergeSet": null,
                    "durationInDays": 90,
                    "cutOffDate": null,
                    "lastTimeSent": null,
                    "alertSentCount": 0
                },
                "rateAlertSubscriptionConfig": {
                    "id": "646670d53b91484fc4b859f8",
                    "mergeSet": null,
                    "durationInDays": 90,
                    "cutOffDate": null,
                    "lastTimeSent": null,
                    "alertSentCount": 0,
                    "frequency": "EveryDay"
                },
                "emails": "",
                "lastUpdate": null,
                "rateAlert": null
            }
        },
        "lockDateUpdate": null,
        "lockEventId": "{{lockEventId}}",
        "lockEventComment": "Whatever comment you would like"
    }'

    Example Response

    This request doesn't return a response body.